package com.my.collection.queue.v3;

/**
 * Created by ZhongGang
 * at 2018/9/6 9:56
 */
public class Queue<E> {
    private Node<E> head;
    private Node<E> tail;

    public void queue(E e) {
        throw new UnsupportedOperationException();
    }

    public E dequeue() {
        throw new UnsupportedOperationException();
    }

    public int size() {
        throw new UnsupportedOperationException();
    }

    private static class Node<E> {
        private E e;
        private Node<E> prev;
        private Node<E> next;

        Node(E e, Node<E> prev, Node<E> next) {
            this.e = e;
            this.prev = prev;
            this.next = next;
        }
    }

    public static void main(String[] args) {
        Queue<Integer> queue = new Queue<>();
        queue.queue(1);

        System.out.println(queue);
    }
}

